import request from '@/utils/request'
export default{
addUser(user){
  return request({
    url:`/user/addUser`,
    method:'post',
    data:user
  })
},
updateUser(user){
  return request({
    url:`/user/updateUser`,
    method:'post',
    data:user
  })
},
deleteUserByIds(ids){
  return request({
    url:`/user/deleteUserByIds`,
    method:'post',
    data:ids
  })
},
getUserList(page,limit,keywords,keywords02,keywords03){
        // 科室id 挂号级别id  用户名
        return request({
            url: `/user/getUserList?page=${page}&limit=${limit}&keywords=${keywords}&keywords02=${keywords02}&keywords03=${keywords03}`, // 分页查询
            method: 'get'
        })
},

}
